package com.demo.mapper;

import com.demo.po.OrdersExt;
import com.demo.po.User;
import com.demo.po.UserQueryVO;

import java.util.List;

public interface OrdersMapper {
    //一对一之resultType
    List<OrdersExt> findOrdersAndUser();
    //一对一之resultMap
    List<OrdersExt> findOrdersAndUserRstMap();
    //一对多
    List<OrdersExt> findOrdersAndDetailRstMap();
    //多对多
    List<User> findUserAndItemsRstMap();
    //延迟加载
    List<OrdersExt> findOrderAndUserLazyLoading();
}
